package org.dydl.model.system;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @DESCRIPION
 * @Create 2015年12月23日
 * @author Dech
 */
@Entity
@Table(name = "sys_employee")
public class SysEmployee implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1383847388267029644L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	private Integer id;

	private String name;

	private Integer gender;

	private Integer empNo;

	private String telNo;

	private String appUser_CD;

	private String tel2_TX;

	private Date create_TM;

	private String sysUser_YN;

	private Integer implement_NR;

	private Integer professional_NR;

	public SysEmployee() {
		super();
	}

	public SysEmployee(Integer id, String name, Integer gender, Integer empNo, String telNo, String appUser_CD,
			String tel2_TX, Date create_TM, String sysUser_YN, Integer implement_NR, Integer professional_NR) {
		super();
		this.id = id;
		this.name = name;
		this.gender = gender;
		this.empNo = empNo;
		this.telNo = telNo;
		this.appUser_CD = appUser_CD;
		this.tel2_TX = tel2_TX;
		this.create_TM = create_TM;
		this.sysUser_YN = sysUser_YN;
		this.implement_NR = implement_NR;
		this.professional_NR = professional_NR;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public Integer getEmpNo() {
		return empNo;
	}

	public void setEmpNo(Integer empNo) {
		this.empNo = empNo;
	}

	public String getTelNo() {
		return telNo;
	}

	public void setTelNo(String telNo) {
		this.telNo = telNo;
	}

	public String getAppUser_CD() {
		return appUser_CD;
	}

	public void setAppUser_CD(String appUser_CD) {
		this.appUser_CD = appUser_CD;
	}

	public String getTel2_TX() {
		return tel2_TX;
	}

	public void setTel2_TX(String tel2_TX) {
		this.tel2_TX = tel2_TX;
	}

	public Date getCreate_TM() {
		return create_TM;
	}

	public void setCreate_TM(Date create_TM) {
		this.create_TM = create_TM;
	}

	public String getSysUser_YN() {
		return sysUser_YN;
	}

	public void setSysUser_YN(String sysUser_YN) {
		this.sysUser_YN = sysUser_YN;
	}

	public Integer getImplement_NR() {
		return implement_NR;
	}

	public void setImplement_NR(Integer implement_NR) {
		this.implement_NR = implement_NR;
	}

	public Integer getProfessional_NR() {
		return professional_NR;
	}

	public void setProfessional_NR(Integer professional_NR) {
		this.professional_NR = professional_NR;
	}

	@Override
	public String toString() {
		return "SysEmployee [id=" + id + ", name=" + name + ", gender=" + gender + ", empNo=" + empNo + ", telNo="
				+ telNo + ", appUser_CD=" + appUser_CD + ", tel2_TX=" + tel2_TX + ", create_TM=" + create_TM
				+ ", sysUser_YN=" + sysUser_YN + ", implement_NR=" + implement_NR + ", professional_NR="
				+ professional_NR + "]";
	}

}
